package com.hdax.dmw.pay.feign;

import com.hdax.dmw.entity.order.Order;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "dmw-services-order")
public interface OrderFeign {

    @PostMapping(path = "/order/detail")
    Order detail(@RequestParam("orderNo")String orderNo);
}
